Repository navigation
Release cortex 0.9.1 - #1536
Merged
Merged
Release cortex 0.9.1#1536
Conversation
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
cortex-ai-agents
Bot
requested review from
PhilippMatthes,
SoWieMarkus,
auhlig,
juliusclausnitzer,
mblos and
umswmayj
as code owners
November 16, 2026 12:35
Merged
mblos
approved these changes
Nov 16, 2026
Contributor
Test Coverage ReportTest Coverage 📊: 72.1% |
mblos
added a commit
that referenced
this pull request
Nov 16, 2026
## Release cortex 0.9.1 ## cortex 0.9.1 ### Refactoring - **CR & Reservation controller decomposition** ([#1535](#1535)): The monolithic `Reconcile()` methods in both `CommittedResourceController` and `CommitmentReservationController` have been split into focused sub-functions (`handleRejectedGeneration()`, `reconcileEvicted()`, `reconcilePlaced()`, `reconcileUnplaced()`) for improved readability, testability, and maintainability. The echo-nudge mechanism (`isAlreadyReserving()` helper and `cortex.cloud/echo-nudge` annotation) has been removed — the controller now relies on the Reservation watch plus a 3 s fallback requeue. Spec-change re-placement now clears `Spec.TargetHost` to force re-placement through the eviction → unplaced flow instead of silently stamping a new `ObservedGeneration`. Roadmap TODOs (`#778`, `#781`, `#783`, `#785`–`#790`) are documented inline. ### Fixes - **Flavor sort order: prefer fewest CPUs on memory tie** ([#1535](#1535)): The secondary sort for flavors within a group has been changed from VCPUs descending to VCPUs ascending when memory is equal. This minimizes CPU blocking on hosts when multiple flavors share the same memory tier. New test `TestSelectFlavor_SameMemory_PrefersFewestCPU` validates the tiebreak. ### Housekeeping - **Tiltfile: stale Helm chart cleanup** ([#1535](#1535)): Added a `find … -delete` step that removes stale packaged Helm chart `.tgz` files before copying the new package, preventing version collisions during local development. ### Dependency Updates | Dependency | Change | Note | |---|---|---| | PostgreSQL 18 | `18.6-1.pgdg13+2` → `18.7-1.pgdg13+2` | Dockerfile bump | | `go.opentelemetry.io/otel/trace` | → `v1.47.0` |⚠️ Security | | `go.opentelemetry.io/otel/sdk` | → `v1.47.0` |⚠️ Security | | `github.com/sapcc/go-bits` | `13886743d3a7` → `2726a2c437f4` | | | `kube-prometheus-stack` | `v93.2.2` → `v93.3.0` | Helm chart | | `github.com/gophercloud/gophercloud/v2` | `v2.15.0` → `v2.16.0` | | | `sigs.k8s.io/controller-runtime` | `v0.25.2` → `v0.25.3` | | ### Rollout Notes - **Echo-nudge removal:** Stale reservations may take up to 3 s (requeue interval) to recover instead of being poked immediately via annotation patch. The Reservation watch plus fallback requeue covers this path; the nudge was a secondary mechanism. - **Spec-change re-placement:** Clearing `TargetHost` on generation mismatch now triggers a two-cycle eviction → re-place flow. This reuses the existing eviction codepath and is covered by integration tests. - **Flavor sort reversal:** Only affects *new* reservations; existing placements are unaffected. - **Security dependencies — prioritize rollout:** OpenTelemetry `v1.47.0` patches security vulnerabilities. ### Bumped Versions | Package | Previous | New | |---|---|---| | cortex | 0.9.0 | 0.9.1 | | cortex-postgres | 0.6.32 | 0.6.33 | | cortex-shim | 0.1.38 | 0.1.39 | | bundles | 0.0.114 | 0.0.115 | | cortex-placement-shim | 0.1.38 | 0.1.39 | ## Dependencies - Prep PR: #1536 (must be merged before this PR)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
CHANGELOG.mdwith release notes for v0.9.1Chart.yamlfiles underhelm/🤖 Generated with Claude Code